package io.renren.modules.jxgk.service.impl;

import io.renren.modules.jxgk.dao.StudentAttendenceInfoDao;
import io.renren.modules.jxgk.entity.ClassAttendenceEntity;
import io.renren.modules.jxgk.entity.StudentAttendenceInfoEntity;
import io.renren.modules.jxgk.service.StudentAttendenceInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class StudentAttendenceInfoServiceImpl implements StudentAttendenceInfoService{
    @Autowired
    StudentAttendenceInfoDao studentAttendenceInfoDao;
    @Override
    public List<StudentAttendenceInfoEntity> queryList(Map<String, Object> map){
        
        return studentAttendenceInfoDao.queryList(map);
    }
    @Override
    public int queryTotal(Map<String, Object> map){
        return  studentAttendenceInfoDao.queryTotal(map);
    }
    @Override
    public void deleteBatch(String[] termIds){
        studentAttendenceInfoDao.deleteBatch(termIds);
    }
    @Override
    public void save(StudentAttendenceInfoEntity ste){
        studentAttendenceInfoDao.save(ste);
    }
    @Override
    public StudentAttendenceInfoEntity queryObject(String index){
        return studentAttendenceInfoDao.queryObject(index);
    }
    @Override
    public void update(StudentAttendenceInfoEntity ste){
        studentAttendenceInfoDao.update(ste);
    }

}
